package com.primi.chen;

import java.io.IOException;
import java.util.Properties;

/**
 * Hello world!
 */
public class App {
    public static void main(String[] args) throws IOException {
        Properties properties = new Properties();
        properties.load(App.class.getClassLoader().getResourceAsStream("application.properties"));
        String activeProfile = properties.getProperty("profile.active");
        System.out.println(properties);
        System.out.printf("Profile: %s \n", activeProfile);
    }
}
